<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>uCXpresso.BLE: pin.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../upnp.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">uCXpresso.BLE
   &#160;<span id="projectnumber">v1.0.4</span>
   </div>
   <div id="projectbrief">RTOS C++ Framework for Bluetooth Low Energy</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('db/d4e/pin_8h_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">pin.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> ===============================================================================</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> Name        : pin.h</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> Author      : uCXpresso</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> Version     : v1.0.1</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> Date        : 2014/1/12</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> Copyright   : Copyright (C) www.embeda.com.tw</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> Description : Pin (GPIO) class</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> ===============================================================================</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">                                 History</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> ---------+---------+--------------------------------------------+-------------</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> DATE     | VERSION |   DESCRIPTIONS                             |  By</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> ---------+---------+--------------------------------------------+-------------</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> 2014/1/1   v1.0.0  First Edition for nano11Uxx                     Jason</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> 2014/1/12  v1.0.1  Update pin MAP for GPIO                         Jason</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> ===============================================================================</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#ifndef PIN_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PIN_H_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;class/peripheral.h&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#ga65a2241721e4acb573e0c3fe29ac432f">   27</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fadc6f24fd6915a3f2786a1b7045406924">   28</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fadc6f24fd6915a3f2786a1b7045406924">END</a>     = 0,    </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fadac6477842247cab1a8c02c65f431b44">   29</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fadac6477842247cab1a8c02c65f431b44">LED1</a>    = 1,    </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa8379bbaa96d151e6adac488b2a147b7a">   30</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa8379bbaa96d151e6adac488b2a147b7a">LED2</a>    = 2,    </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa5dec293e081e0fc78369c842fab8452b">   31</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa5dec293e081e0fc78369c842fab8452b">LED3</a>    = 3,    </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fad60e39b8d1701d30aa64f80343217342">   32</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fad60e39b8d1701d30aa64f80343217342">LED4</a>    = 4,    </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab20c93c473d2b2ee6bef8e048791d3e2">   33</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab20c93c473d2b2ee6bef8e048791d3e2">P5</a>      = 5,    </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa2c4b26cdd49f41587ea363450f377789">   34</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa2c4b26cdd49f41587ea363450f377789">P6</a>      = 6,    </div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fae544b12da6aab8e794fc4a95291e79d0">   35</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fae544b12da6aab8e794fc4a95291e79d0">P7</a>      = 7,    </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fafc188cab65e9ef22b16cffc65fc01db6">   36</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fafc188cab65e9ef22b16cffc65fc01db6">P8</a>      = 8,    </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432facb5ce0e03e0d15f312bcce7c393ab209">   37</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432facb5ce0e03e0d15f312bcce7c393ab209">P9</a>      = 9,    </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab39951757bdcc4d5fea882455620535d">   38</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab39951757bdcc4d5fea882455620535d">P10</a>     = 10,   </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab5c11e7e3e2e4a6a665a76be088fb124">   39</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab5c11e7e3e2e4a6a665a76be088fb124">P11</a>     = 11,   </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faec1566d0be224596a3646a3933251fd8">   40</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faec1566d0be224596a3646a3933251fd8">P12</a>     = 12,   </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faa11deb45db76bc89b810ea56ac748d56">   41</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faa11deb45db76bc89b810ea56ac748d56">P13</a>     = 13,   </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa82f43319c92dd813ab03fa9840d86799">   42</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa82f43319c92dd813ab03fa9840d86799">P14</a>     = 14,   </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">//  P15     = 15,   ///&lt; Pin 15 / GND (illegal IO pin)</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa7b60003ee48f99ed3a9a1e99d0e7ca90">   44</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa7b60003ee48f99ed3a9a1e99d0e7ca90">P16</a>     = 16,   </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faeabcd3fddf1bbacb5e817027b2c87823">   45</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faeabcd3fddf1bbacb5e817027b2c87823">P17</a>     = 17,   </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faed37383bf61eada38df9ffe0a367171a">   46</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faed37383bf61eada38df9ffe0a367171a">P18</a>     = 18,   </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa61f13c350e3003e8df7d8001bb015b19">   47</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa61f13c350e3003e8df7d8001bb015b19">P19</a>     = 19,   </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa386f2a4d624f254b338d955f122fed38">   48</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa386f2a4d624f254b338d955f122fed38">P20</a>     = 20,   </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa19b235491a16a3e7f91872f46a33a4a6">   49</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa19b235491a16a3e7f91872f46a33a4a6">P21</a>     = 21,   </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa7010befcbd538e2d53cf35755cbc4663">   50</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa7010befcbd538e2d53cf35755cbc4663">P22</a>     = 22,   </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fac7bf4234043357a0b854b3818a8d33e6">   51</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fac7bf4234043357a0b854b3818a8d33e6">P23</a>     = 23,   </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa98300b37c344c1c3e73a3f9ddb160bab">   52</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa98300b37c344c1c3e73a3f9ddb160bab">P24</a>     = 24,   </div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432facba9550ea386b7c89716fb4c4d3f4a9e">   53</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432facba9550ea386b7c89716fb4c4d3f4a9e">P25</a>     = 25,   </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faca5dec41a95d9f2de2430d25cd9370fe">   54</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faca5dec41a95d9f2de2430d25cd9370fe">P26</a>     = 26,   </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa9fb3c0ae0f4c52ffd76e08e75396fcb6">   55</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa9fb3c0ae0f4c52ffd76e08e75396fcb6">P27</a>     = 27,   </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa021b5348faf2d0810b8d636b1775f5a1">   56</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa021b5348faf2d0810b8d636b1775f5a1">P28</a>     = 28,   </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa254b7350015b23e911e8ec808c9707dc">   57</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa254b7350015b23e911e8ec808c9707dc">P29</a>     = 29,   </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">//  P30     = 30,   ///&lt; Pin 30 / V3.3 (illegal IO pin)</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;}<a class="code" href="../../db/dff/group___enumerations.html#ga65a2241721e4acb573e0c3fe29ac432f">PIN_NAME_T</a>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#ga9f8f32709b482732d6e377ff26da36ef">   66</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa781a7f23ae9b0dbdc6edfdcfd3be75df">   67</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa781a7f23ae9b0dbdc6edfdcfd3be75df">INTERNAL_PULL_UP</a> = 2,   </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa415b70b8108c51e396b88eeeaa0ffb1a">   68</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa415b70b8108c51e396b88eeeaa0ffb1a">REPEATER</a> = 3,           </div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa013572cb02b52b1022858df73a528a08">NEITHER</a> = 0,            </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa1d483952a85ba6abceffda2c06623326">   71</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa1d483952a85ba6abceffda2c06623326">INTERNAL_PULL_DOWN</a> = 1  </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;}<a class="code" href="../../db/dff/group___enumerations.html#ga9f8f32709b482732d6e377ff26da36ef">PIN_INPUT_MODE_T</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gac16e35b75166ad7286b8bb78bd244ed2">   79</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#ggac16e35b75166ad7286b8bb78bd244ed2afd68b1a66f2a33ce77d4f6c7f8fc998a">   80</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#ggac16e35b75166ad7286b8bb78bd244ed2afd68b1a66f2a33ce77d4f6c7f8fc998a">NOT_OPEN</a> = 0,   </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#ggac16e35b75166ad7286b8bb78bd244ed2aa90b62c376675b218528e2b0b0a7f123">   81</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#ggac16e35b75166ad7286b8bb78bd244ed2aa90b62c376675b218528e2b0b0a7f123">OPEN_DRAIN</a> = 1  </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;}<a class="code" href="../../db/dff/group___enumerations.html#gac16e35b75166ad7286b8bb78bd244ed2">PIN_OUTPUT_MODE_T</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">   87</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a6a226f4143ca3b18999551694cdb72a8">   88</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a6a226f4143ca3b18999551694cdb72a8">LOW</a> = 0,        </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a0c3a1dacf94061154b3ee354359c5893">   89</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a0c3a1dacf94061154b3ee354359c5893">HIGH</a> = 1,       </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80afc0ca8cc6cbe215fd3f1ae6d40255b40">   90</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80afc0ca8cc6cbe215fd3f1ae6d40255b40">LED_OFF</a> = <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a6a226f4143ca3b18999551694cdb72a8">LOW</a>,  </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80add01b80eb93658fb4cf7eb9aceb89a1d">   91</a></span>&#160;    <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80add01b80eb93658fb4cf7eb9aceb89a1d">LED_ON</a> = <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a0c3a1dacf94061154b3ee354359c5893">HIGH</a>   </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;}<a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html">   98</a></span>&#160;<span class="keyword">class </span><a class="code" href="../../d7/db9/class_c_pin.html">CPin</a>: <span class="keyword">public</span> <a class="code" href="../../d9/db6/class_c_peripheral.html">CPeripheral</a> {</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <a class="code" href="../../d7/db9/class_c_pin.html#a7338f2960b4d8992c43f3c6067742ded">CPin</a>(<a class="code" href="../../db/dff/group___enumerations.html#ga65a2241721e4acb573e0c3fe29ac432f">PIN_NAME_T</a> p);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../d7/db9/class_c_pin.html#a84cd9c4613a9b53f00e52c23b4eed050">output</a>(<a class="code" href="../../db/dff/group___enumerations.html#gac16e35b75166ad7286b8bb78bd244ed2">PIN_OUTPUT_MODE_T</a> mode=<a class="code" href="../../db/dff/group___enumerations.html#ggac16e35b75166ad7286b8bb78bd244ed2afd68b1a66f2a33ce77d4f6c7f8fc998a">NOT_OPEN</a>, <a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a> defValue=<a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a6a226f4143ca3b18999551694cdb72a8">LOW</a>);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../d7/db9/class_c_pin.html#a21aa5b473c1a3637a487c7724f8b9fcf">input</a>(<a class="code" href="../../db/dff/group___enumerations.html#ga9f8f32709b482732d6e377ff26da36ef">PIN_INPUT_MODE_T</a> mode=<a class="code" href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa781a7f23ae9b0dbdc6edfdcfd3be75df">INTERNAL_PULL_UP</a>);</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../d7/db9/class_c_pin.html#a1fc3486f4afea4de56ae677c20600551">write</a>(<a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a> val);    <span class="comment">// write new pin value (for output)</span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a>  <a class="code" href="../../d7/db9/class_c_pin.html#a02060b0c9bbf0f75dead7bef1c75ce6b">read</a>();            <span class="comment">// read current pin value (for input)</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="../../d7/db9/class_c_pin.html#a240de24c726724aeda90bfacf1d50cc5">invert</a>();                  <span class="comment">// invert current pin output value (for output)</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="comment">// Shorthand operators</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html#a7d125bef83689d0f1db13b3f1acbd05e">  169</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="../../d7/db9/class_c_pin.html#a7d125bef83689d0f1db13b3f1acbd05e">operator =</a>(<a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a> val) { this-&gt;<a class="code" href="../../d7/db9/class_c_pin.html#a1fc3486f4afea4de56ae677c20600551">write</a>(val); }</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html#a01428eca1b98e2e194bd0848b3eb8904">  170</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="../../d7/db9/class_c_pin.html#a7d125bef83689d0f1db13b3f1acbd05e">operator =</a>(<a class="code" href="../../d7/db9/class_c_pin.html">CPin</a> &amp;pin) { this-&gt;<a class="code" href="../../d7/db9/class_c_pin.html#a1fc3486f4afea4de56ae677c20600551">write</a>(pin.<a class="code" href="../../d7/db9/class_c_pin.html#a02060b0c9bbf0f75dead7bef1c75ce6b">read</a>());}</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html#a9037649d1e88192f5fde46b810c71299">  171</a></span>&#160;    <span class="keyword">inline</span> <span class="keyword">operator</span> <a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a>() { <span class="keywordflow">return</span> <a class="code" href="../../d7/db9/class_c_pin.html#a02060b0c9bbf0f75dead7bef1c75ce6b">read</a>(); }</div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html#a5ec08fca85a5f9472e82588a6a895b8f">  172</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a>  <a class="code" href="../../d7/db9/class_c_pin.html#a5ec08fca85a5f9472e82588a6a895b8f">operator !</a>() { <span class="keywordflow">return</span> (<a class="code" href="../../d7/db9/class_c_pin.html#a02060b0c9bbf0f75dead7bef1c75ce6b">read</a>()==<a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a0c3a1dacf94061154b3ee354359c5893">HIGH</a>? <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a6a226f4143ca3b18999551694cdb72a8">LOW</a> : <a class="code" href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a0c3a1dacf94061154b3ee354359c5893">HIGH</a>); }</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html#ae9f57493334eeb6e69a77a0cf4e50f95">  173</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="../../d7/db9/class_c_pin.html#ae9f57493334eeb6e69a77a0cf4e50f95">operator ==</a>(<a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a> val) { <span class="keywordflow">return</span> (this-&gt;<a class="code" href="../../d7/db9/class_c_pin.html#a02060b0c9bbf0f75dead7bef1c75ce6b">read</a>()==val ? <span class="keyword">true</span> : <span class="keyword">false</span>); }</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html#aae98a7d34d72ccc58b6d799f7ad2e12e">  174</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="../../d7/db9/class_c_pin.html#aae98a7d34d72ccc58b6d799f7ad2e12e">operator !=</a>(<a class="code" href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a> val) { <span class="keywordflow">return</span> (this-&gt;<a class="code" href="../../d7/db9/class_c_pin.html#a02060b0c9bbf0f75dead7bef1c75ce6b">read</a>()!=val ? <span class="keyword">true</span> : <span class="keyword">false</span>); }</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="../../d7/db9/class_c_pin.html#a5e6cdf81b6a8869e3c1e78dffb6ddca5">  179</a></span>&#160;    <span class="keyword">inline</span> <a class="code" href="../../db/dff/group___enumerations.html#ga65a2241721e4acb573e0c3fe29ac432f">PIN_NAME_T</a> <a class="code" href="../../d7/db9/class_c_pin.html#a5e6cdf81b6a8869e3c1e78dffb6ddca5">name</a>() { <span class="keywordflow">return</span> (<a class="code" href="../../db/dff/group___enumerations.html#ga65a2241721e4acb573e0c3fe29ac432f">PIN_NAME_T</a>)m_nPin; }</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    <a class="code" href="../../d7/db9/class_c_pin.html#a7338f2960b4d8992c43f3c6067742ded">CPin</a>();</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="../../d7/db9/class_c_pin.html">CPin</a>();</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> assign(<a class="code" href="../../db/dff/group___enumerations.html#ga65a2241721e4acb573e0c3fe29ac432f">PIN_NAME_T</a> p);      <span class="comment">// assign pin number to CPin</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="keywordtype">int</span> m_nPin;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;};</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* PIN_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa9fb3c0ae0f4c52ffd76e08e75396fcb6"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa9fb3c0ae0f4c52ffd76e08e75396fcb6">P27</a></div><div class="ttdoc">Pin 27 / MOSI. </div><div class="ttdef"><b>Definition:</b> pin.h:55</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa8379bbaa96d151e6adac488b2a147b7a"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa8379bbaa96d151e6adac488b2a147b7a">LED2</a></div><div class="ttdoc">On board LED2. </div><div class="ttdef"><b>Definition:</b> pin.h:30</div></div>
<div class="ttc" id="group___enumerations_html_gga6f24594071a026b31238ab8cb80d6a80a6a226f4143ca3b18999551694cdb72a8"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a6a226f4143ca3b18999551694cdb72a8">LOW</a></div><div class="ttdoc">LOW level. </div><div class="ttdef"><b>Definition:</b> pin.h:88</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa7b60003ee48f99ed3a9a1e99d0e7ca90"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa7b60003ee48f99ed3a9a1e99d0e7ca90">P16</a></div><div class="ttdoc">Pin 16 / RXD. </div><div class="ttdef"><b>Definition:</b> pin.h:44</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fad60e39b8d1701d30aa64f80343217342"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fad60e39b8d1701d30aa64f80343217342">LED4</a></div><div class="ttdoc">On board LED4. </div><div class="ttdef"><b>Definition:</b> pin.h:32</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fab39951757bdcc4d5fea882455620535d"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab39951757bdcc4d5fea882455620535d">P10</a></div><div class="ttdoc">Pin 10 / AD1. </div><div class="ttdef"><b>Definition:</b> pin.h:38</div></div>
<div class="ttc" id="group___enumerations_html_ga6f24594071a026b31238ab8cb80d6a80"><div class="ttname"><a href="../../db/dff/group___enumerations.html#ga6f24594071a026b31238ab8cb80d6a80">PIN_LEVEL_T</a></div><div class="ttdeci">PIN_LEVEL_T</div><div class="ttdef"><b>Definition:</b> pin.h:87</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432faca5dec41a95d9f2de2430d25cd9370fe"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faca5dec41a95d9f2de2430d25cd9370fe">P26</a></div><div class="ttdoc">Pin 26 / SEL. </div><div class="ttdef"><b>Definition:</b> pin.h:54</div></div>
<div class="ttc" id="class_c_pin_html_a21aa5b473c1a3637a487c7724f8b9fcf"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a21aa5b473c1a3637a487c7724f8b9fcf">CPin::input</a></div><div class="ttdeci">virtual void input(PIN_INPUT_MODE_T mode=INTERNAL_PULL_UP)</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fadac6477842247cab1a8c02c65f431b44"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fadac6477842247cab1a8c02c65f431b44">LED1</a></div><div class="ttdoc">On board LED1. </div><div class="ttdef"><b>Definition:</b> pin.h:29</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa7010befcbd538e2d53cf35755cbc4663"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa7010befcbd538e2d53cf35755cbc4663">P22</a></div><div class="ttdoc">Pin 22 / PWM3. </div><div class="ttdef"><b>Definition:</b> pin.h:50</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432facb5ce0e03e0d15f312bcce7c393ab209"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432facb5ce0e03e0d15f312bcce7c393ab209">P9</a></div><div class="ttdoc">Pin 9 / AD0. </div><div class="ttdef"><b>Definition:</b> pin.h:37</div></div>
<div class="ttc" id="group___enumerations_html_gga6f24594071a026b31238ab8cb80d6a80afc0ca8cc6cbe215fd3f1ae6d40255b40"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80afc0ca8cc6cbe215fd3f1ae6d40255b40">LED_OFF</a></div><div class="ttdoc">LED_OFF. </div><div class="ttdef"><b>Definition:</b> pin.h:90</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432faec1566d0be224596a3646a3933251fd8"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faec1566d0be224596a3646a3933251fd8">P12</a></div><div class="ttdoc">Pin 12 / AD3. </div><div class="ttdef"><b>Definition:</b> pin.h:40</div></div>
<div class="ttc" id="class_c_pin_html_a84cd9c4613a9b53f00e52c23b4eed050"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a84cd9c4613a9b53f00e52c23b4eed050">CPin::output</a></div><div class="ttdeci">virtual void output(PIN_OUTPUT_MODE_T mode=NOT_OPEN, PIN_LEVEL_T defValue=LOW)</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fae544b12da6aab8e794fc4a95291e79d0"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fae544b12da6aab8e794fc4a95291e79d0">P7</a></div><div class="ttdoc">Pin 7. </div><div class="ttdef"><b>Definition:</b> pin.h:35</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432faa11deb45db76bc89b810ea56ac748d56"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faa11deb45db76bc89b810ea56ac748d56">P13</a></div><div class="ttdoc">Pin 13 / AD4. </div><div class="ttdef"><b>Definition:</b> pin.h:41</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa386f2a4d624f254b338d955f122fed38"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa386f2a4d624f254b338d955f122fed38">P20</a></div><div class="ttdoc">Pin 20 / PWM1. </div><div class="ttdef"><b>Definition:</b> pin.h:48</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432facba9550ea386b7c89716fb4c4d3f4a9e"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432facba9550ea386b7c89716fb4c4d3f4a9e">P25</a></div><div class="ttdoc">Pin 25 / SDA (OPen Drain ONLY) </div><div class="ttdef"><b>Definition:</b> pin.h:53</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa98300b37c344c1c3e73a3f9ddb160bab"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa98300b37c344c1c3e73a3f9ddb160bab">P24</a></div><div class="ttdoc">Pin 24 / SCL (Open Drain ONLY) </div><div class="ttdef"><b>Definition:</b> pin.h:52</div></div>
<div class="ttc" id="group___enumerations_html_ggac16e35b75166ad7286b8bb78bd244ed2aa90b62c376675b218528e2b0b0a7f123"><div class="ttname"><a href="../../db/dff/group___enumerations.html#ggac16e35b75166ad7286b8bb78bd244ed2aa90b62c376675b218528e2b0b0a7f123">OPEN_DRAIN</a></div><div class="ttdoc">Pin is in the open drain mode. </div><div class="ttdef"><b>Definition:</b> pin.h:81</div></div>
<div class="ttc" id="group___enumerations_html_gga6f24594071a026b31238ab8cb80d6a80a0c3a1dacf94061154b3ee354359c5893"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80a0c3a1dacf94061154b3ee354359c5893">HIGH</a></div><div class="ttdoc">HIGH level. </div><div class="ttdef"><b>Definition:</b> pin.h:89</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa021b5348faf2d0810b8d636b1775f5a1"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa021b5348faf2d0810b8d636b1775f5a1">P28</a></div><div class="ttdoc">Pin 28 / MISO. </div><div class="ttdef"><b>Definition:</b> pin.h:56</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa82f43319c92dd813ab03fa9840d86799"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa82f43319c92dd813ab03fa9840d86799">P14</a></div><div class="ttdoc">Pin 14 / AD5. </div><div class="ttdef"><b>Definition:</b> pin.h:42</div></div>
<div class="ttc" id="class_c_pin_html_a5e6cdf81b6a8869e3c1e78dffb6ddca5"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a5e6cdf81b6a8869e3c1e78dffb6ddca5">CPin::name</a></div><div class="ttdeci">PIN_NAME_T name()</div><div class="ttdef"><b>Definition:</b> pin.h:179</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fab5c11e7e3e2e4a6a665a76be088fb124"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab5c11e7e3e2e4a6a665a76be088fb124">P11</a></div><div class="ttdoc">Pin 11 / AD2. </div><div class="ttdef"><b>Definition:</b> pin.h:39</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fafc188cab65e9ef22b16cffc65fc01db6"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fafc188cab65e9ef22b16cffc65fc01db6">P8</a></div><div class="ttdoc">Pin 8. </div><div class="ttdef"><b>Definition:</b> pin.h:36</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432faed37383bf61eada38df9ffe0a367171a"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faed37383bf61eada38df9ffe0a367171a">P18</a></div><div class="ttdoc">Pin 18 / RTS. </div><div class="ttdef"><b>Definition:</b> pin.h:46</div></div>
<div class="ttc" id="class_c_pin_html"><div class="ttname"><a href="../../d7/db9/class_c_pin.html">CPin</a></div><div class="ttdef"><b>Definition:</b> pin.h:98</div></div>
<div class="ttc" id="group___enumerations_html_gga9f8f32709b482732d6e377ff26da36efa1d483952a85ba6abceffda2c06623326"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa1d483952a85ba6abceffda2c06623326">INTERNAL_PULL_DOWN</a></div><div class="ttdoc">Pin has an on-chip pull-down resistor enabled. </div><div class="ttdef"><b>Definition:</b> pin.h:71</div></div>
<div class="ttc" id="class_c_pin_html_a7d125bef83689d0f1db13b3f1acbd05e"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a7d125bef83689d0f1db13b3f1acbd05e">CPin::operator=</a></div><div class="ttdeci">void operator=(PIN_LEVEL_T val)</div><div class="ttdef"><b>Definition:</b> pin.h:169</div></div>
<div class="ttc" id="group___enumerations_html_gga9f8f32709b482732d6e377ff26da36efa781a7f23ae9b0dbdc6edfdcfd3be75df"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa781a7f23ae9b0dbdc6edfdcfd3be75df">INTERNAL_PULL_UP</a></div><div class="ttdoc">Pin has an on-chip pull-up resistor enabled. </div><div class="ttdef"><b>Definition:</b> pin.h:67</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fadc6f24fd6915a3f2786a1b7045406924"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fadc6f24fd6915a3f2786a1b7045406924">END</a></div><div class="ttdoc">END (null) for CBus class. </div><div class="ttdef"><b>Definition:</b> pin.h:28</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa61f13c350e3003e8df7d8001bb015b19"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa61f13c350e3003e8df7d8001bb015b19">P19</a></div><div class="ttdoc">Pin 19 / CTS. </div><div class="ttdef"><b>Definition:</b> pin.h:47</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa2c4b26cdd49f41587ea363450f377789"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa2c4b26cdd49f41587ea363450f377789">P6</a></div><div class="ttdoc">Pin 6. </div><div class="ttdef"><b>Definition:</b> pin.h:34</div></div>
<div class="ttc" id="group___enumerations_html_ga65a2241721e4acb573e0c3fe29ac432f"><div class="ttname"><a href="../../db/dff/group___enumerations.html#ga65a2241721e4acb573e0c3fe29ac432f">PIN_NAME_T</a></div><div class="ttdeci">PIN_NAME_T</div><div class="ttdef"><b>Definition:</b> pin.h:27</div></div>
<div class="ttc" id="group___enumerations_html_gac16e35b75166ad7286b8bb78bd244ed2"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gac16e35b75166ad7286b8bb78bd244ed2">PIN_OUTPUT_MODE_T</a></div><div class="ttdeci">PIN_OUTPUT_MODE_T</div><div class="ttdef"><b>Definition:</b> pin.h:79</div></div>
<div class="ttc" id="group___enumerations_html_gga9f8f32709b482732d6e377ff26da36efa013572cb02b52b1022858df73a528a08"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa013572cb02b52b1022858df73a528a08">NEITHER</a></div><div class="ttdoc">Pin has neither pull-up nor pull-down resistor enabled. </div><div class="ttdef"><b>Definition:</b> pin.h:70</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432faeabcd3fddf1bbacb5e817027b2c87823"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432faeabcd3fddf1bbacb5e817027b2c87823">P17</a></div><div class="ttdoc">Pin 17 / TXD. </div><div class="ttdef"><b>Definition:</b> pin.h:45</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fab20c93c473d2b2ee6bef8e048791d3e2"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fab20c93c473d2b2ee6bef8e048791d3e2">P5</a></div><div class="ttdoc">Pin 5 / Reset. </div><div class="ttdef"><b>Definition:</b> pin.h:33</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa254b7350015b23e911e8ec808c9707dc"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa254b7350015b23e911e8ec808c9707dc">P29</a></div><div class="ttdoc">Pin 29 / SCK. </div><div class="ttdef"><b>Definition:</b> pin.h:57</div></div>
<div class="ttc" id="class_c_pin_html_a5ec08fca85a5f9472e82588a6a895b8f"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a5ec08fca85a5f9472e82588a6a895b8f">CPin::operator!</a></div><div class="ttdeci">PIN_LEVEL_T operator!()</div><div class="ttdef"><b>Definition:</b> pin.h:172</div></div>
<div class="ttc" id="group___enumerations_html_gga6f24594071a026b31238ab8cb80d6a80add01b80eb93658fb4cf7eb9aceb89a1d"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga6f24594071a026b31238ab8cb80d6a80add01b80eb93658fb4cf7eb9aceb89a1d">LED_ON</a></div><div class="ttdoc">LED_ON. </div><div class="ttdef"><b>Definition:</b> pin.h:91</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa19b235491a16a3e7f91872f46a33a4a6"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa19b235491a16a3e7f91872f46a33a4a6">P21</a></div><div class="ttdoc">Pin 21 / PWM2. </div><div class="ttdef"><b>Definition:</b> pin.h:49</div></div>
<div class="ttc" id="group___enumerations_html_gga9f8f32709b482732d6e377ff26da36efa415b70b8108c51e396b88eeeaa0ffb1a"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga9f8f32709b482732d6e377ff26da36efa415b70b8108c51e396b88eeeaa0ffb1a">REPEATER</a></div><div class="ttdoc">enables the pull-up resistor if the pin is at a logic high,   &lt; enables the pull-down resistor if the...</div><div class="ttdef"><b>Definition:</b> pin.h:68</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fa5dec293e081e0fc78369c842fab8452b"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fa5dec293e081e0fc78369c842fab8452b">LED3</a></div><div class="ttdoc">On board LED3. </div><div class="ttdef"><b>Definition:</b> pin.h:31</div></div>
<div class="ttc" id="class_c_pin_html_a240de24c726724aeda90bfacf1d50cc5"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a240de24c726724aeda90bfacf1d50cc5">CPin::invert</a></div><div class="ttdeci">virtual void invert()</div></div>
<div class="ttc" id="class_c_pin_html_aae98a7d34d72ccc58b6d799f7ad2e12e"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#aae98a7d34d72ccc58b6d799f7ad2e12e">CPin::operator!=</a></div><div class="ttdeci">bool operator!=(PIN_LEVEL_T val)</div><div class="ttdef"><b>Definition:</b> pin.h:174</div></div>
<div class="ttc" id="class_c_pin_html_a02060b0c9bbf0f75dead7bef1c75ce6b"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a02060b0c9bbf0f75dead7bef1c75ce6b">CPin::read</a></div><div class="ttdeci">virtual PIN_LEVEL_T read()</div></div>
<div class="ttc" id="group___enumerations_html_ga9f8f32709b482732d6e377ff26da36ef"><div class="ttname"><a href="../../db/dff/group___enumerations.html#ga9f8f32709b482732d6e377ff26da36ef">PIN_INPUT_MODE_T</a></div><div class="ttdeci">PIN_INPUT_MODE_T</div><div class="ttdef"><b>Definition:</b> pin.h:66</div></div>
<div class="ttc" id="class_c_pin_html_ae9f57493334eeb6e69a77a0cf4e50f95"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#ae9f57493334eeb6e69a77a0cf4e50f95">CPin::operator==</a></div><div class="ttdeci">bool operator==(PIN_LEVEL_T val)</div><div class="ttdef"><b>Definition:</b> pin.h:173</div></div>
<div class="ttc" id="class_c_pin_html_a1fc3486f4afea4de56ae677c20600551"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a1fc3486f4afea4de56ae677c20600551">CPin::write</a></div><div class="ttdeci">virtual void write(PIN_LEVEL_T val)</div></div>
<div class="ttc" id="class_c_peripheral_html"><div class="ttname"><a href="../../d9/db6/class_c_peripheral.html">CPeripheral</a></div><div class="ttdef"><b>Definition:</b> peripheral.h:27</div></div>
<div class="ttc" id="group___enumerations_html_gga65a2241721e4acb573e0c3fe29ac432fac7bf4234043357a0b854b3818a8d33e6"><div class="ttname"><a href="../../db/dff/group___enumerations.html#gga65a2241721e4acb573e0c3fe29ac432fac7bf4234043357a0b854b3818a8d33e6">P23</a></div><div class="ttdoc">Pin 23 / PWM4. </div><div class="ttdef"><b>Definition:</b> pin.h:51</div></div>
<div class="ttc" id="class_c_pin_html_a7338f2960b4d8992c43f3c6067742ded"><div class="ttname"><a href="../../d7/db9/class_c_pin.html#a7338f2960b4d8992c43f3c6067742ded">CPin::CPin</a></div><div class="ttdeci">CPin(PIN_NAME_T p)</div></div>
<div class="ttc" id="group___enumerations_html_ggac16e35b75166ad7286b8bb78bd244ed2afd68b1a66f2a33ce77d4f6c7f8fc998a"><div class="ttname"><a href="../../db/dff/group___enumerations.html#ggac16e35b75166ad7286b8bb78bd244ed2afd68b1a66f2a33ce77d4f6c7f8fc998a">NOT_OPEN</a></div><div class="ttdoc">Pin is in the normal (not open drain) mode. </div><div class="ttdef"><b>Definition:</b> pin.h:80</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d9ab3e09413249e340719d1c246acc66.html">Jason Project</a></li><li class="navelem"><a class="el" href="../../dir_e60b0d0338763df7a227cbecf5ac6106.html">Firmware</a></li><li class="navelem"><a class="el" href="../../dir_c8ef7bdfc8622ceb56fdbfff8f44a6b4.html">lpcxpresso</a></li><li class="navelem"><a class="el" href="../../dir_bc2544560b94a5512f672a61310393b1.html">ucxpresso.lite</a></li><li class="navelem"><a class="el" href="../../dir_89b485e3174b4ad30c1cd4b50a79dec9.html">uCXpresso.BLE</a></li><li class="navelem"><a class="el" href="../../dir_ef35519cefd621f663612ebad34cbfc9.html">inc</a></li><li class="navelem"><a class="el" href="../../dir_23b8956a4518e3beec6402c1bb795b19.html">class</a></li><li class="navelem"><b>pin.h</b></li>
    <li class="footer">Generated on Fri Apr 11 2014 23:43:26 for uCXpresso.BLE by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
